#ifndef _SKIPJACK_H_
#define _SKIPJACK_H_

#define ENCRYPT 0x01
#define DECRYPT 0x02

typedef unsigned char	byte;
typedef unsigned int	word32;

void skipjackMakeKey(byte key[10], byte tab[10][256]);
void skipjackEncrypt(byte tab[10][256], byte in[8], byte out[8]);
void skipjackDecrypt(byte tab[10][256], byte in[8], byte out[8]);
void processCrypto(uint8_t mode, byte tab[10][256], byte *inp, byte *out, INT8 length);
#endif
